<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">

    <title>文章管理页</title>
    <link rel="shortcut icon" href="/favicon.ico">

    <!--[if lt IE 8]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->

    <link href="/public/admin/css/bootstrap.min.css?v=3.3.5" rel="stylesheet">
    <link href="/public/admin/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="/public/admin/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="/public/admin/css/animate.css" rel="stylesheet">
    <link href="/public/admin/css/style.css?v=4.0.0" rel="stylesheet">
    <link href="/public/admin/css/ourstyle.css?v=4.0.0" rel="stylesheet">
    <link href="/public/admin/js/plugins/layer/skin/layer.css" rel="stylesheet">
    <style>
        #tab-1 .form-group{
            display:none;
        }
    </style>
    <!-- 全局js -->
    <script src="/public/admin/js/jquery.min.js?v=2.1.4"></script>
    <script src="/public/admin/js/bootstrap.min.js?v=3.3.5"></script>
    <!-- 自定义js -->
    <script src="/public/admin/js/content.js?v=1.0.0"></script>
    <script src="/public/admin/js/plugins/layer/layer.min.js"></script>
    <script src="/public/admin/plugins/laydate/laydate.js"></script>
    <script src="/public/admin/js/article.js"></script>
    <script src="/public/admin/js/common.js"></script>
    <!-- CKeditor -->
    <script src="/public/admin/plugins/ckeditor/ckeditor.js"></script>
    <script type="text/javascript" src="/public/admin/plugins/ckfinder/ckfinder.js"></script>
    <!-- iCheck -->
    <script src="/public/admin/js/plugins/iCheck/icheck.min.js"></script>
</head>

<body class="fixed-sidebar full-height-layout gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <ul class="nav nav-tabs">
                        <li class="active"><a data-toggle="tab" href="#tab-1">{$exam.exam_name}（考试时间：{$exam.exam_time}分钟，总分：{$exam.exam_score}分，及格线：{$exam.pass_line}分）</a></li>
                    </ul>
                    <br/>
                    <div class="row">
                        <div style="margin-left:20px;font-size:16px;color:#333333">学号：{$user.user_name}&nbsp;&nbsp;&nbsp;得分：{$testingLog.score}&nbsp;&nbsp;&nbsp;做对：{$rightList|count}题&nbsp;&nbsp;&nbsp;做错：{$wrongList|count}题</div>
                        <table class="table table-hover" style="color:#333333">
                            <tbody>
                            {volist name="contentList" id="v"}
                            <tr>
                                <td>
                                    <b>{$v.catTitle}</b>
                                </td>
                            </tr>
                            <tr>
                                <td style="border-top:none">
                                    <table>
                                        <tbody>
                                        <tr>
                                            <td width="30" style="vertical-align:initial">{$i}.</td>
                                            <td>{$v.question|raw}</td>
                                        </tr>
                                        {if $v['type']==1 || $v['type']==3 }
                                        <tr>
                                            <td>A：</td>
                                            <td>{$v.question_select.A}</td>
                                        </tr>
                                        <tr>
                                            <td>B：</td>
                                            <td>{$v.question_select.B}</td>
                                        </tr>
                                        <tr>
                                            <td>C：</td>
                                            <td>{$v.question_select.C}</td>
                                        </tr>
                                        <tr>
                                            <td>D：</td>
                                            <td>{$v.question_select.D}</td>
                                        </tr>
                                        <tr style="height:40px;">
                                            <td></td>
                                            <td><span style="color:red">正确答案：{$v.question_answer}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>考生答案：{$v.daan}</span>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000">{eq name="v.question_answer" value="$v.daan"}（回答正确）{else/}（回答错误）{/eq}</span></td>
                                        </tr>
                                        {elseif $v['type']==2 /}
                                        <tr>
                                            <td>A：</td>
                                            <td>正确</td>
                                        </tr>
                                        <tr>
                                            <td>B：</td>
                                            <td>错误</td>
                                        </tr>
                                        <tr style="height:40px;">
                                            <td></td>
                                            <td><span style="color:red">正确答案：{$v.question_answer}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>考生答案：{$v.daan}</span>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000">{eq name="v.question_answer" value="$v.daan"}（回答正确）{else/}（回答错误）{/eq}</span></td>
                                        </tr>
                                        {elseif $v['type']==4 /}
                                        <tr style="height:40px;">
                                            <td></td>
                                            <td><span style="text-decoration: underline;">考生答案：{$v.daan}</span></td>
                                        </tr>
                                        <tr style="height:40px;">
                                            <td></td>
                                            <td><span style="color:red">参考答案：{$v.question_answer}</span></td>
                                        </tr>
                                        {/if}

                                        </tbody>
                                    </table>
                                </td>
                            </tr>
                            {/volist}
                            </tbody>
                        </table>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script>
    $(document).ready(function () {
        $('.i-checks').iCheck({
            checkboxClass: 'icheckbox_square-green',
            radioClass: 'iradio_square-green',
        });
    });
</script>
</body>
</html>
